﻿
#region Usings

#endregion

namespace LongNet.Web.Email.MIME.CodeTypes
{
    /// <summary>
    /// Coder for parameters
    /// </summary>
    public class CodeParameter:CodeBase
    {
        #region Constructor
        /// <summary>
        /// Constructor
        /// </summary>
        public CodeParameter()
        {
        }
        #endregion

        #region Protected Overriden Functions

        protected override string[] FoldCharacters
        {
            get
            {
                string[] TempCharacters = { ";" };
                return TempCharacters;
            }
        }

        protected override bool IsAutoFold
        {
            get
            {
                return true;
            }
        }

        protected override bool DelimeterNeeded
        {
            get
            {
                return true;
            }
        }

        protected override char[] DelimeterCharacters
        {
            get
            {
                char[] DelimeterCharactersUsing = { '(', ')', '<', '>', '"' };
                return DelimeterCharactersUsing;
            }
        }
        #endregion
    }
}